package com.qqt.csr.order.vo.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: yang hao
 * @Date: 2024/12/18 14:47
 * @Description: 工单响应参数
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "工单响应参数")
public class WorkOrderRespVO {

    @Schema(description = "工单id")
    private Long id;

    @Schema(description = "工单标题")
    private String title;

    @Schema(description = "工单编号")
    private String orderCode;

    @Schema(description = "创建来源，0 工单池；1 人工客服；2 h5渠道")
    private Integer origin;

    @Schema(description = "渠道id")
    private String channelId;

    @Schema(description = "渠道名称")
    private String channelName;

    @Schema(description = "工单创建时间")
    private String createTime;

    @Schema(description = "访客id")
    private String visitorId;

    @Schema(description = "会话id")
    private String conversationId;

    @Schema(description = "工单状态，1：待认领；2：处理中；4：已完结")
    private String status;

    @Schema(description = "是否重新开启，0 否；1 是")
    private Integer openAgainFlag;

    @Schema(description = "是否挂起，0 否；1 是")
    private Integer isSuspended;

    @Schema(description = "创建人id")
    private String creatorId;

    @Schema(description = "创建人姓名")
    private String creatorName;

    @Schema(description = "创建人工号")
    private String creatorJobId;

    @Schema(description = "当前处理人id")
    private String processorId;

    @Schema(description = "当前处理人")
    private String processorName;

    @Schema(description = "当前处理人工号")
    private String processorJobId;

    @Schema(description = "优先级：0 低；1 一般；2 紧急")
    private Integer priority;

    @Schema(description = "超时时间，单位：秒")
    private Long timeoutConfig;

    @Schema(description = "是否超时，0 否；1 是")
    private Integer timeoutFlag;

    @Schema(description = "已耗时，单位：秒")
    private Long elapsedTime;

}
